<html>
<head>
    <css file="__PUBLIC__/css/body.css"/>
    <css file="__STATIC__/icon/icon.css"/>
</head>
<body>
    <div class="top">
        <div class="position"><span class="icon icon-31"></span>当前位置：后台首页</div>
        <div class="top-title">
            <span class="icon icon-32"></span>
            <div class="top-tool">
                <a href="javascript:void(0);" class="button-a">基本信息</a>
            </div>
        </div>
    </div>
    <div class="body">
        <table class="list-tb" border="0" cellpadding="0" cellspacing="4">
            <tr>
                <th width="30%">服务器信息</th>
                <th width="30%">个人信息</th>
                <th width="40$">其他信息</th>
            </tr>
            <tr>
                <td>操作系统：{:PHP_OS}</td>
                <td>用户账号：{:session('un')}</td>
                <td>模型(<a href="{:U('Module/index')}">更多</a>)：
                    <foreach name="model" item="vo">
                    <span style="display: inline-block;background:#ec6941;margin-left:5px;height:15px;font-size:11px;padding:2px 5px;color:#fff;">{$vo.title}</span>
                    </foreach>
                </td>
            </tr>
            <tr>
                <td>服务器名称：{$_SERVER['SERVER_NAME']}</td>
                <td>用户姓名：<span style="color: red;">{:session('rn')}</span></td>
                <td>前台会员共有<span style="color: green;"> {$qthy} </span>个</td>
            </tr>
            <tr>
                <td>PHP版本：{:phpversion()}</td>
                <td>上次登陆IP：{:session('li')}</td>
                <td>后台会员共有<span style="color: green;"> {$hthy} </span>个</td>
            </tr>
            <tr>
                <td>CMS版本：<span style="color: green;">WenBoon {:C('M_VER')}</span></td>
                <td>账号过期时间：30分钟</td>
                <td>全站有<span style="color: green;"> {$discuss} </span>条评论</td>
            </tr>
            <tr>
                <td>网站根目录：{$_SERVER['DOCUMENT_ROOT']}</td>
                <td>上次登陆日期：{:session('lt')}</td>
                <td>有<span style="color: green;"> {$advertisement} </span>个广告位和<span style="color: green;"> {$advertext} </span>个广告</td>
            </tr>
            <tr>
                <td>网站端口：{$_SERVER['SERVER_PORT']}</td>
                <td></td>
            </tr>
            
            <tr>
                <td>数据库类型：MYSQL</td>
                <td></td>
            </tr>
            <tr>
                <td>数据库地址：{:C('DB_HOST')}</td>
                <td></td>
            </tr>
            <tr>
                <td>数据库名称：{:C('DB_NAME')}</td>
                <td></td>
            </tr>
            <tr>
                <td>数据库用户名：{:C('DB_USER')}</td>
                <td></td>
            </tr>
        </table>
        <p style="background:#eee;height:5px;padding:0px;margin:0px;margin-top:10px;"></p>
        <div style="font-size: 12px;text-align: left;">
            <p>1、建议开启缓存功能(系统管理->修改信息->是否缓存选择"开启")</p>
            <p>2、添加内容/更改栏目后及时清除缓存</p>
        </div>
    </div>
</body>
</html>